<template>
	<div id="index">
		<h1>测试动态路由 和 get传参</h1>
		<h3>动态路由</h3>
		<ul>
			<li v-for="(value,index) in list">
				{{value}}-->{{index}} <router-link :to="'/params/dynamic/'+value">go to</router-link>
			</li>
		</ul>
		
		<h3>get传参</h3>
		<ul>
			<li v-for="(value,index) in list">
				{{value}}-->{{index}} <router-link :to="'/params/get?content='+value">go to</router-link>
			</li>
		</ul>
	</div>
	
</template>

<script>
	export default{
		data() {
			return {
				"msg": "params/index.vue",
				"list":["test1","test2","test3"]
			}
		}
	}
</script>